home *** CD-ROM | disk | FTP | other *** search
- function Moveitem(num)
- {
- _root["item" + num].targetPlay(30);
- if(num != _root.menucheck)
- {
- _root["item" + _root.menucheck].gotoAndStop(30);
- _root["item" + _root.menucheck].targetPlay(35);
- }
- i = 1;
- while(i <= 7)
- {
- if(i > num)
- {
- _root["item" + i].move(_root["item" + i].firstY + 100,0.1);
- }
- else
- {
- _root["item" + i].move(_root["item" + i].firstY,0.1);
- }
- i++;
- }
- i = 1;
- while(i <= 7)
- {
- if(i == num)
- {
- _root["item" + i].line.gotoAndPlay(2);
- }
- else
- {
- _root["item" + i].line.gotoAndStop(1);
- }
- i++;
- }
- _root.menucheck = num;
- }
- function menuSelect(menu, sub)
- {
- if(menu == _level0.check_GameMenu)
- {
- _level0.check_GameMenu = menu;
- _level300.gotoAndPlay("start");
- _level0.startMovie = sub;
- }
- else
- {
- unloadMovieNum(1000);
- loadCommandEX(menu);
- _level0.startMovie = sub;
- _level0.check_GameMenu = menu;
- }
- }
- i = 1;
- while(i <= 7)
- {
- _root["item" + i].firstY = _root["item" + i]._y;
- _root["item" + i].box.i = i;
- _root["item" + i].box.onRollOver = function()
- {
- };
- _root["item" + i].box.onRollOut = function()
- {
- };
- _root["item" + i].box.onRelease = function()
- {
- _root.Moveitem(this.i);
- };
- i++;
- }
-